package com.aaa.service.impl;

import com.aaa.entity.UMS_Role;
import com.aaa.mapper.UMS_RoleMapper;
import com.aaa.service.UMS_RoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UMS_RoleServiceImpl extends ServiceImpl<UMS_RoleMapper, UMS_Role> implements UMS_RoleService {
    @Resource
    UMS_RoleMapper ums_roleMapper;

    @Override
    public Integer add(String name, String description, Integer status) {
        return ums_roleMapper.add(name, description, status);
    }

    @Override
    public Integer updAll(String name, String description, Integer status, Integer id) {
        return ums_roleMapper.updAll(name, description, status, id);
    }
}
